<me:UILMFKART x:Class="WPFExcelReport.TLM03"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"  
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UILMFKART.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UILMFKART.Resources>
    <WrapPanel>
        <SD:TS0352   KEY="{Binding CARDNO,ElementName=TV}" />
        <Grid Margin="10,0,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Button Content="{Binding Source={Localization:Translate Word=全选}}" Margin="5,0,0,0" Click="SelectAllCommand" />
            <Button Content="{Binding Source={Localization:Translate Word=清除}}" Margin="5,0,0,0"  Grid.Column="1"  Click="SelectionClearCommand" />
        </Grid>
        <TextBox Text="{Binding Selects,ElementName=TV}" Width="200"/>
        <WF:TBTNEXE IsManage="{Binding IsManage,ElementName=TV}" DLL="TLMFKART" CMD="LMS" STWNW="MainWindow"  
                INFO="{Binding INFO,ElementName=TV}"   IsInfo="False"   />
        <ComboBox Grid.Row="0" Grid.Column="1" 
                  DropDownOpened="ComboBox_DropDownOpened" 
                  IsEditable="True"  
                  Width="100"
                  SelectedValuePath="LMFFARBE"
                  DisplayMemberPath="LMFFARBE"
                  ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster }}" 
                  IsSynchronizedWithCurrentItem="True" 
                  />
     
    </WrapPanel>
</me:UILMFKART>
